package ioc;


/**
 * @author vivi
 * @description
 * @date 2024/5/19
 */
public class Bottom {
    private Tire tire;
    public Bottom(Tire tire){
        this.tire = tire;
    }
    // 依赖车轮
    public void init() {
        System.out.println("执行bottom init方法");
        tire.init();
    }
}
